import Layout from '@/layout'

const autonymRouter = {
  path: '/autonym',
  component: Layout,
  redirect: '/autonym/autonymWork',
  name: 'autonymWork',
  meta: {
    title: '实名制',
    icon: 'autonym'
  },
  children: [{
    path: 'autonymWork',
    name: 'AutonymWork',
    component: () => import('@/views/autonym/index'),
    meta: {
      title: '考勤管理'
    }
  },
  {
    path: 'helmet',
    name: 'Helmet',
    component: () => import('@/views/autonym/helmet'),
    meta: {
      title: '安全帽佩戴管理'
    }
  }]
}

export default autonymRouter
